/**
 *  数组之间的比较
 */

let arr = [1, 2, 3, 4]
let arr1 = [1, 2, 3, 5]
let arr2 = [1, 2, 3, 5]
let arr3 = arr2
let arr4 = [2, 3, 4, 5]
console.log(arr1 == arr2);  //false
console.log(arr1 === arr2);  //false
console.log(arr3 == arr2);  //true
console.log(arr3 === arr2); //true

console.log(arr1 > arr);  //true
console.log(arr4>arr);  //true
// console.log(toPrimitive(arr4));


